package com.atguigu.product.service;

import com.atguigu.product.vo.AttrGroupWithAttrVo;
import com.atguigu.product.vo.SpuItemAttrGroupVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.product.entity.AttrGroupEntity;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author polarisink
 * @email polarisink@163.com
 * @date 2020-12-18 13:31:43
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

  PageUtils queryPage(Map<String, Object> params);

  PageUtils queryPage(Map<String, Object> params, Long catelogId);

  List<AttrGroupWithAttrVo> getAttrGroupWithAttrByCatelogId(Long catId);

  List<SpuItemAttrGroupVo> getAttrGroupWithAttrsBySpuId(Long spuId, Long catalonId);
}

